package com.kaili.basic.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class BaseOutStoreAddDTO {
  @ApiModelProperty("订单号")
  private String orderNo;

  @ApiModelProperty("关联出库申请单号")
  private String linkOrderNo;

  @ApiModelProperty("仓库id")
  private Long storeId;

  @ApiModelProperty("出库类型")
  private Long outStoreType;

  @ApiModelProperty("货主id")
  private Long supplierId;

  @ApiModelProperty("客户id")
  private Long customerId;

  @ApiModelProperty("联系人id")
  private Long linkManId;

  @ApiModelProperty("备注")
  private String remark;

  @ApiModelProperty("客户单号")
  private String custEwbNo;

  @ApiModelProperty("邮编")
  private String postalCode;

  @ApiModelProperty("发货时间")
  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  private Date sendGoodsTime;

  @ApiModelProperty("制单人")
  private Long createBy;

  @ApiModelProperty("制单时间")
  @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss" )
  private Date createTime;

  @ApiModelProperty("产品详情")
  List<BaseOutStoreDetailAddDTO> detailList;
}
